package com.cn.study0014.test006;

/**
 * @author lw
 * @ClassName TestStu.java
 * @Description
 * @createTime 2023年05月18日 15:56:00
 */
public class TestStu {
    public static void main(String[] args) {
        Student stu1=new Student();
        Student stu2=new Student();
        StudentBiz studentBiz=new StudentBiz();
        stu1.id=10;
        stu1.name="王紫";
        stu1.age=18;
        stu1.score=90;
        studentBiz.addStudent(stu1);
        stu2.id=11;
        stu2.name="小米";
        stu2.age=19;
        stu2.score=70;
        studentBiz.addStudent(stu2);
        System.out.println("本班学生：");
        studentBiz.showStudent();


    }
}
